0ac9c2731580ccc08b653fc25074d35327a969d1,src/test/java/com/github/vbauer/herald/util/ReflectionUtilsTest.java,ReflectionUtilsTest,testHandleReflectionRuntimeException,#,40

Before Change



    @Test(expected = RuntimeException.class)
    public void testHandleReflectionRuntimeException() {
        ReflectionUtils.handleReflectionException(new RuntimeException());
    }

    @Test(expected = Error.class)

After Change



    @Test(expected = RuntimeException.class)
    public void testHandleReflectionRuntimeException() {
        fail(valueOf(ReflectionUtils.handleReflectionException(new RuntimeException())));
    }

    @Test(expected = Error.class)